package com.bootdo.company.service;

import com.bootdo.company.domain.CompanyDO;
import com.bootdo.company.domain.CompanyPublishPostDO;

import java.util.List;
import java.util.Map;

/**
 * 公司基本信息表
 * 
 * @author wudongliang
 * @email 460030103@qq.com
 * @date 2020-02-18 10:46:45
 */
public interface CompanyService {
	
	CompanyDO get(Long id);
	
	List<CompanyDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CompanyDO company);

	int update(CompanyDO company);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	CompanyDO getByPostId(Long postId);

	List<CompanyPublishPostDO> companyPostLists();

	Map<String,Object> getById(Long id);

	CompanyDO getByUserId(Long userId);

}
